package cn.exrick.xboot.modules.transport.service;

import cn.exrick.xboot.modules.transport.param.QueryCompaniesParam;
import cn.exrick.xboot.modules.transport.vo.CompaniesVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.exrick.xboot.modules.transport.entity.Companies;

/**
 * 物流公司基本信息接口
 * @author gj
 */
public interface CompaniesService extends IService<Companies> {

    /**
     *
     * @param page
     * @param param
     * @return
     */
    IPage<CompaniesVo> getByConditionPage(Page<Companies> page, QueryCompaniesParam param);

    void removeCompanyById(Long id);
}